-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Journal Details section above Contacts section #519
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @frozenhelium, the order of the PDF looks good.
When a user downloads a document that doesn't have journal details
information, the label is still listed in the PDF, and has four No content available.
placeholders.
If content is added, the correct single field Significance Discussion
is displayed.
If other Journal Details
are added but not Significance Discussion
, that is also displayed correctly.
Could you fix the first scenario? Ideal, the entire section would not appear, but having only one No content available.
placeholder is also a good option.
@wrynearson I'll look into it |
@wrynearson It should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @frozenhelium, there's still the issue of four "No content available." placeholders when a user selects that the ATBD will or has been published, but they don't have any content in the four field.
When a user has content in one of the four, there are then three "No content available." placeholders.
I tested this with the /pdf-preview, and it occurs there.
Ideally:
- If the document has content in the
Significance Discussion
text box, it should be displayed in the PDF - If the document does not have content in the
Significance Discussion
, there should be no rendering of theSignificance Discussion
or any of the other fields in theJournal Details
in the PDF. - Regardless of whether or not there's content in the
Significance Discussion
text box, the other three sub-sections in theJournal Details
should not appear in the PDF.
3c017e4
to
c6ad83d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @frozenhelium!
Oops, forgot to merge this... doing it now @frozenhelium |
Upstream: NASA-IMPACT/nasa-apt#682 (comment)